/*
 * @Author: 卡卡 1071780426@qq.com
 * @Date: 2023-09-14 12:31:39
 * @LastEditors: CNN 969682281@qq.com
 * @LastEditTime: 2024-02-26 16:56:05
 * @FilePath: \mould\src\components\BehaViorManage\workYear\regexDetail.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
export default {
  //规格型号
  formObj: [
    {
      input: true, //是input
      label: "建设项目简称",
      prop: "fProjectname",
      width: 6, //参考el-col
      disabled: true,
      rules: [
        {
          required: false,
          message: "建设项目简称不能为空",
        },
      ], //验证
    },
    {
      input: true, //是input
      label: "施工标段简称",
      prop: "fCompanyname",
      width: 6, //参考el-col
      disabled: true,
      rules: [
        {
          required: false,
          message: "施工标段简称不能为空",
        },
      ], //验证
    },
    //
    {
      input: true, //是input
      label: "外检设备类型", //字段
      prop: "fUseplace", //字段名
      width: 6, //参考el-col
      disabled: true, //是否禁用
      rules: [
        {
          required: true,
          message: "外检设备类型不能为空",
        },
      ], //验证
    },
    {
      input: true, //是input
      label: "设备名称", //字段
      prop: "fEqptname", //字段名
      width: 6, //参考el-col
      disabled: false, //是否禁用
      rules: [
        {
          required: true,
          message: "设备名称不能为空",
        },
      ], //验证
    },
    {
      input: true, //是input
      label: "设备编号", //字段
      prop: "fEqptno", //字段名
      width: 6, //参考el-col
      disabled: false, //是否禁用
      rules: [
        {
          required: true,
          message: "设备编号不能为空",
        },
      ], //验证
    },
    {
      input: true, //是input
      label: "规格型号", //字段
      prop: "fEqptspecs", //字段名
      width: 6, //参考el-col
      disabled: false, //是否禁用
      rules: [
        {
          required: true,
          message: "规格型号不能为空",
        },
      ], //验证
    },
    {
      input: true, //是input
      label: "制造厂家", //字段
      prop: "fFactoryname", //字段名
      width: 6, //参考el-col
      disabled: false, //是否禁用
    },
    {
      input: true, //是input
      label: "生产编号", //字段
      prop: "fCertificationno", //字段名
      width: 6, //参考el-col
      disabled: false, //是否禁用
    },
    {
      datePicker: true, //是input
      label: "生产日期", //字段
      prop: "fOutdates", //字段名
      width: 6, //参考el-col
      disabled: false, //是否禁用
      rules: [{
        required: true,
        message: '生产日期不能为空'
      }], //验证
    },
    {
      input: true, //是input
      label: "保管人", //字段
      prop: "fOperusername", //字段名
      width: 6, //参考el-col
      disabled: true, //是否禁用
      rules: [
        {
          required: true,
          message: "保管人不能为空",
        },
      ], //验证
    },
    {
      label: "相关资料附件", //字段
      prop: "fSourcefile", //字段名
      width: 12,//参考el-col
      disabled: false, //是否禁用
      upload: true,
      uploadSelect: true,
      uploadObj: {
        fileType: "2001",
        limit: 8, //上传长度限制
        hideUpload: false, //是否隐藏上传框
      },
      rules: [{
        required: false,
        message: '请上传相关资料附件'
      }] //验证
    },
    {
      textarea: true, //是input
      label: "备注", //字段
      prop: "fNote", //字段名
      width: 24,//参考el-col
      disabled: false, //是否禁用
      placeholder: "请输入内容",
    },
  ],


}